package com.runfast.waimai.service.impl;

import com.runfast.common.service.BaseService;
import com.runfast.waimai.dao.mapper.RunfastGoodsSellOutStatusMapper;
import com.runfast.waimai.dao.model.RunfastGoodsSellOutStatus;
import com.runfast.waimai.dao.model.RunfastGoodsSellOutStatusExample;
import com.runfast.waimai.service.RunfastGoodsSellOutStatusService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class RunfastGoodsSellOutStatusServiceImpl extends BaseService<RunfastGoodsSellOutStatus, Integer, RunfastGoodsSellOutStatusExample> implements RunfastGoodsSellOutStatusService {
  @Resource
    RunfastGoodsSellOutStatusMapper dao;
    @Override
    public RunfastGoodsSellOutStatus findsortandGoodsSellRecordCode(String goodsSellRecordCode, Integer sort) {
        return dao.findsortandGoodsSellRecordCode(goodsSellRecordCode,sort);
    }

    @Override
    public RunfastGoodsSellOutStatus save(RunfastGoodsSellOutStatus runfastGoodsSellOutStatus) {
        return dao.save(runfastGoodsSellOutStatus);
    }
}